﻿<Window
    x:Class="MDrive.Views.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Views="clr-namespace:MDrive.Views"
    Title="MDrive Motor Control"
    Width="1024"
    Height="768"
    FontSize="40">
    <Window.Background>
        <LinearGradientBrush
            EndPoint="0.5,1"
            StartPoint="0.5,0">
            <GradientStop
                Color="Black" />
            <GradientStop
                Color="Blue"
                Offset="1" />
        </LinearGradientBrush>
    </Window.Background>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition
                Width="300" />
            <ColumnDefinition
                Width="*" />
        </Grid.ColumnDefinitions>
        <Views:ComView
            DataContext="{Binding ComViewModel}" />
        <Views:MDriveView
            Grid.Column="1"
            DataContext="{Binding MDriveViewModel}" />
    </Grid>
</Window>
